Shift range switching system

ABSTRACT

A shift range switching system includes: a motor that includes a motor winding and generates a cogging torque by a permanent magnet; a drive circuit; an output shaft; a shift range switching mechanism that includes a trough providing member with troughs and crests and integrally rotates with the output shaft, an engagement member that fits in one trough corresponding to a shift range, and an urging member that urges the engagement member toward the one trough; and a control unit. The engagement member drops into the one trough with an allowance. When an abnormality occurs in a motor drive system in an ascending action in which the engagement member moves from one trough toward one crest, the shift range switching system reduces an occurrence probability of an intermediate range stop abnormality.

CROSS REFERENCE TO RELATED APPLICATION

The present application is a continuation application of International Patent Application No. PCT/JP2018/042407 filed on Nov. 16, 2018, which designated the U.S. and claims the benefit of priority from Japanese Patent Application No. 2017-222864 filed on Nov. 20, 2017. The entire disclosures of all of the above applications are incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to a shift range switching system.

BACKGROUND

Conventionally, a shift device has been known which switches a shift range by controlling a motor in response to a shift range switching request from a driver. For example, in a conceivable technique, the position of a trough bottom is learned by use of a predetermined amount of backlash provided between two intermediate gears.

SUMMARY

According to an example embodiment, a shift range switching system includes: a motor that includes a motor winding and generates a cogging torque by a permanent magnet; a drive circuit; an output shaft; a shift range switching mechanism that includes a trough providing member with troughs and crests and integrally rotates with the output shaft, an engagement member that fits in one trough corresponding to a shift range, and an urging member that urges the engagement member toward the one trough; and a control unit. The engagement member drops into the one trough with an allowance. When an abnormality occurs in a motor drive system in an ascending action in which the engagement member moves from one trough toward one crest, the shift range switching system reduces an occurrence probability of an intermediate range stop abnormality.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description made with reference to the accompanying drawings. In the drawings:

FIG. 1 is a perspective view showing a shift-by-wire system according to a first embodiment;

FIG. 2 is a schematic configuration diagram showing a shift-by-wire system according to the first embodiment;

FIG. 3 is a circuit diagram showing a motor and a motor driver according to the first embodiment;

FIG. 4 is an illustrative diagram illustrating the behavior of a detent mechanism according to the first embodiment;

FIG. 5 is an illustrative diagram illustrating a torque applied to the detent mechanism according to the first embodiment;

FIG. 6 is an illustrative diagram showing a relationship between an energization period and an output shaft stop position according to the first embodiment;

FIG. 7 is a time chart showing an experimental result in the case where an energization is turned off after the energization for a predetermined time according to the first embodiment;

FIG. 8 is a schematic diagram showing a state in which an intermediate range stop abnormality has occurred according to the first embodiment;

FIG. 9 is a schematic diagram showing a motor drive system according to the first embodiment;

FIG. 10 is a flowchart illustrating a motor control process according to the first embodiment;

FIG. 11 is a schematic diagram showing a motor drive system according to a second embodiment;

FIG. 12 is a schematic diagram showing a motor drive system according to a third embodiment;

FIG. 13 is a schematic diagram showing a motor drive system according to a fourth embodiment;

FIG. 14 is a schematic diagram showing a motor drive system according to a fifth embodiment;

FIG. 15 is a schematic diagram showing a motor drive system according to a sixth embodiment;

FIG. 16 is a schematic diagram showing a motor drive system according to a seventh embodiment;

FIG. 17 is a schematic diagram showing a motor drive system according to an eighth embodiment;

FIG. 18 is a schematic diagram showing a motor drive system according to a ninth embodiment;

FIG. 19 is a schematic diagram showing a motor drive system according to a tenth embodiment;

FIG. 20 is a schematic diagram showing a motor drive system according to an eleventh embodiment;

FIG. 21 is a schematic diagram showing a motor drive system according to a twelfth embodiment;

FIG. 22 is a schematic diagram showing a motor drive system according to a thirteenth embodiment;

FIG. 23 is a flowchart illustrating a motor control process according to a fourteenth embodiment;

FIG. 24 is a flowchart illustrating a motor control process according to a fifteenth embodiment;

FIG. 25 is a flowchart illustrating a motor control process according to a sixteenth embodiment; and

FIG. 26 is an illustrative diagram illustrating a torque applied to a detent mechanism according to a seventeenth embodiment.

DETAILED DESCRIPTION

In a conceivable technique, an urging force of a detent spring is a force that acts so that a roller portion falls into a trough. In the shift range switching system, when the range is switched, a state in which a spring load acts in a direction to assist a motor torque and a state in which the spring load acts in a direction to prevent the motor torque repeatedly occur as the roller portion moves along the troughs and troughs.

When a motor in which a cogging torque is generated is used as the driving source, a torque balance point is generated at which the load torque caused by the spring load and the torque caused by the cogging torque, the motor friction, and the like are balanced. In this example, a new problem has been found that when a motor-off failure that the motor cannot be driven occurs during switching of a shift range, the torque is balanced depending on a motor position at the time of occurrence of the motor-off failure, and an output shaft stops in an intermediate range. If the output shaft stops in the intermediate range, an appropriate hydraulic pressure cannot be generated in an automatic transmission, which may lead to a failure of the automatic transmission.

In view of the above points, a shift range control device is provided to be capable of protecting an automatic transmission even when an abnormality occurs in a motor drive system.

The shift range switching system according to an example embodiment includes a motor, a drive circuit, an output shaft, a shift range switching mechanism, and a control unit. The motor has motor windings and a cogging torque is generated by permanent magnets. The drive circuit switches the energization of the motor windings. The rotation of a motor shaft, which is a rotation shaft of the motor, is transmitted to the output shaft. The shift range switching mechanism includes a trough providing member, an engagement member, and an urging member. The trough providing member is formed with multiple troughs and multiple crests separating the troughs, and rotates integrally with the output shaft. The engagement member fits into the trough corresponding to a shift range. The urging member urges the engagement member in a direction to fit in the trough. The control unit controls driving of the motor.

An allowance is provided between the motor shaft and the output shaft, and the engagement member can be dropped into the trough by use of the allowance. The drive circuit, the motor winding, and a connection wiring connecting the drive circuit and the motor winding are used as a motor drive system. When an abnormality occurs in the motor drive system while the engagement member is moving upward from the trough to the crest, an occurrence probability of an intermediate range stop abnormality in which the output shaft stops by balancing an output shaft cogging torque, which is a cogging torque transmitted to the output shaft, and a torque including a load torque of the urging member can be reduced.

As a result, even when an abnormality occurs in the motor drive system during ascending of the engagement member, the occurrence probability of the intermediate range stop abnormality is reduced, so that the automatic transmission can be protected.

Hereinafter, a shift range switching system will be described with reference to the drawings. Hereinafter, in multiple embodiments, substantially the same components are denoted by the same reference numerals, and a description of the same configurations will be omitted.

First Embodiment

FIGS. 1 to 10 show a shift range control device according to a first embodiment. As shown in FIGS. 1 and 2, a shift-by-wire system 1 as a shift range switching system includes a motor 10, a shift range switching mechanism 20, a parking lock mechanism 30, a shift range control device 40, and the like.

The motor 10 rotates when an electric power is supplied from a battery 45 (see FIG. 3) mounted on a vehicle (not shown), and functions as a driving source of the shift range switching mechanism 20. The motor 10 according to the present embodiment is a DC brushless motor of a permanent magnet type, and generates a cogging torque. In the present specification, the cogging torque and a torque caused by a motor friction and the like, which are generated even at the time of deenergization, are appropriately referred to as a “motor cogging torque”.

As shown in FIG. 3, the motor 10 has two sets of motor windings 11 and 12. The first motor winding 11 includes a U1 coil 111, a V1 coil 112, and a W1 coil 113. The second motor winding 12 includes a U2 coil 121, a V2 coil 122, and a W2 coil 123.

As shown in FIG. 2, an encoder 13 detects a motor angle θm, which is a rotational position of a rotor (not shown) of the motor 10. The encoder 13 is, for example, a magnetic rotary encoder, and includes a magnet that rotates integrally with the rotor, a Hall IC for magnetic detection, and the like. The encoder 13 outputs pulse signals of the A-phase and the B-phase at every predetermined angle in synchronization with the rotation of the rotor.

A speed reducer 14 is provided between the motor shaft 105 (see FIG. 4), which is a rotation shaft of the motor 10, and an output shaft 15, and reduces a rotation speed of the motor 10 to output the rotation of the motor 10 to the output shaft 15. As a result, the rotation of the motor 10 is transmitted to the shift range switching mechanism 20. The output shaft 15 is provided with an output shaft sensor 16 for detecting an output shaft angle θs which is an angle of the output shaft 15. The output shaft sensor 16 is, for example, a potentiometer. In the embodiment, an allowance such as a gear backlash exists between the motor shaft 105 and the output shaft 15. Hereinafter, as appropriate, a total allowance between the motor shaft 105 and the output shaft 15 is referred to as “backlash”.

As shown in FIG. 1, the shift range switching mechanism 20 includes a detent plate 21, a detent spring 25, and the like, and transmits a rotational driving force output from the speed reducer 14 to a manual valve 28 and the parking lock mechanism 30.

The detent plate 21 is fixed to the output shaft 15 and driven by the motor 10. The detent plate 21 is provided with a pin 24 projecting parallel to the output shaft 15. The pin 24 is connected to a manual valve 28. When the detent plate 21 is driven by the motor 10, the manual valve 28 reciprocates in the axial direction. In other words, the shift range switching mechanism 20 converts a rotational motion of the motor 10 into a linear motion and transmits the linear motion to the manual valve 28. The manual valve 28 is provided in the valve body 29. When the manual valve 28 reciprocates in the axial direction, a hydraulic supply path to a hydraulic clutch (not shown) is switched, and an engagement state of the hydraulic clutch is switched, to thereby change the shift range.

As shown in FIGS. 1 and 5, four troughs 221 to 224 for holding the manual valve 28 at positions corresponding to respective ranges are provided on the detent spring 25 side of the detent plate 21 which is a trough providing member. The troughs 221 to 224 are arrayed in the order of a P trough 221 corresponding to a P (parking) range, an R trough 222 corresponding to an R (reverse) range, an N trough 223 corresponding to an N (neutral) range, and a D trough 224 corresponding to a D (drive) range from a tip side of the detent spring 25.

The detent spring 25, which is an urging member, is an elastically deformable plate-like member, and a detent roller 26, which is an engagement member, is provided at a tip of the detent spring 25. The detent spring 25 urges the detent roller 26 toward the center of rotation of the detent plate 21. When a predetermined or more rotating force is applied to the detent plate 21, the detent spring 25 elastically deforms, and the detent roller 26 moves on the troughs 221 to 224. For example, when switching from the P range to the D range, the detent roller 26 moves from the P trough 221 to the D trough 224 while rotating the detent plate 21 in the forward rotation direction, and fits in the D trough 224. When the detent roller 26 fits into one of the troughs 221 to 224, the swinging of the detent plate 21 is regulated, the axial position of the manual valve 28 and the state of the parking lock mechanism 30 are determined, and the shift range of the automatic transmission 5 is fixed.

As shown in FIG. 6, a region Rp is a region on a side opposite to the R trough 222 by a predetermined position on the side of the R trough 222 from the center of the P trough 221, and is a P lock guarantee range in which a parking lock by the parking lock mechanism 30 is guaranteed when the detent roller 26 is at an output shaft angle in the region Rp. A region Rr is a predetermined range including the center of the R trough 222, and is an R hydraulic pressure generation range in which a hydraulic pressure in the R range is guaranteed in the automatic transmission 5 when the detent roller 26 is at the output shaft angle in the region Rr. A region Rd is a predetermined range including the center of the D trough 224, and is a D hydraulic pressure generation range in which a hydraulic pressure in the D range is guaranteed in the automatic transmission 5 when the detent roller 26 is at the output shaft angle in the region Rd. A region Rn is a predetermined range including the center of the N trough 223, and is a range in which a frictional engagement element (not shown) is not engaged, and no generation of an oil pressure is guaranteed in an oil passage of the automatic transmission 5 when the detent roller 26 is at the output shaft angle in the region Rn. Hereinafter, the regions Rp, Rr, Rn, and Rd are appropriately defined as range guarantee regions, and regions other than the range guarantee regions are defined as intermediate range regions.

As shown in FIG. 1, the parking lock mechanism 30 includes a parking rod 31, a conical body 32, a parking lock pawl 33, a shaft portion 34, and a parking gear 35. The parking rod 31 is formed in a substantially L-shape, and one end 311 is fixed to the detent plate 21. The conical body 32 is provided on the other end 312 side of the parking rod 31. A diameter of the conical body 32 decreases toward the other end 312. When the detent plate 21 swings in a reverse rotation direction, the conical body 32 moves in a direction of an arrow P.

The parking lock pawl 33 abuts against a conical surface of the conical body 32, and a projection portion 331 that can mesh with the parking gear 35 is provided on the parking gear 35 side of the parking lock pawl 33 that is provided so as to be swingable about the shaft portion 34. When the detent plate 21 rotates in the reverse rotation direction and the conical body 32 moves in a direction of an arrow P, the parking lock pawl 33 is pushed up, and the projection portion 331 and the parking gear 35 mesh with each other. On the other hand, when the detent plate 21 rotates in a forward rotational direction and the conical body 32 moves in a direction of an arrow notP, the engagement between the projection portion 331 and the parking gear 35 is released.

The parking gear 35 is provided on an axle (not shown) so as to be engageable with the projection portion 331 of the parking lock pawl 33. When the parking gear 35 and the projection portion 331 are engaged with each other, the rotation of the axle is restricted. When the shift range is a notP range other than the P, the parking gear 35 is not locked by the parking lock pawl 33, and the rotation of the axle is not hindered by the parking lock mechanism 30. When the shift range is the P range, the parking gear 35 is locked by the parking lock pawl 33, and the rotation of the axle is regulated.

As shown in FIGS. 2 and 3, the shift range control device 40 includes motor drivers 41 and 42 as drive circuits, an ECU 50 as a control unit, and the like. The motor driver 41 is a three-phase inverter for switching the energization of the first motor winding 11, and switching elements 411 to 416 are bridge-connected to each other One end of the U1 coil 111 is connected to a connection point of the U-phase switching elements 411 and 414 that are paired with each other. One end of the V1 coil 112 is connected to a connection point of the V-phase switching elements 412 and 415 that are paired with each other. One end of the W1 coil 113 is connected to a connection point of the W-phase switching elements 413 and 416 which are paired with each other. The other ends of the coils 111 to 113 are connected to each other by a connection portion 115.

The motor driver 42 is a three-phase inverter for switching the energization of the second motor winding 12, and switching elements 421 to 426 are bridge-connected to each other. One end of the U2 coil 121 is connected to a connection point of the U-phase switching elements 421 and 424 which are paired with each other. One end of the V2 coil 122 is connected to a connection point of the V-phase switching elements 422 and 425 that are paired with each other. One end of the W2 coil 123 is connected to a connection point of the W-phase switching elements 423 and 426 that are paired with each other. The other ends of the coils 121 to 123 are connected to each other by a connecting portion 125. The switching elements 411 to 416 and 421 to 426 according to the present embodiment are MOSFET, but other elements such as IGBT may be used.

A motor relay 46 is provided between the first motor driver 41 and the battery 45. A motor relay 47 is provided between the second motor driver 42 and the battery 45. The motor relays 46 and 47 are turned on when a start switch such as an ignition switch or the like is turned on, and an electric power is supplied to the motor 10. The motor relays 46 and 47 are turned off when the start switch is turned off, and the supply of electric power to the motor 10 is cut off. A voltage sensor 48 for detecting a battery voltage Vb is provided on a high potential side of the battery 45.

The ECU 50 controls on/off operations of the switching elements 411 to 416 and 421 to 426, and controls driving of the motor 10, thereby controlling switching of the shift range. The ECU 50 controls the driving of a shift hydraulic control solenoid 6 based on a vehicle speed, an accelerator opening degree, a driver requested shift range, and the like. A shift stage is controlled by controlling the shift hydraulic control solenoid 6. The number of shift hydraulic control solenoids 6 corresponding to the number of shift stages and the like is provided. In the present embodiment, one ECU 50 controls the driving of the motor 10 and the solenoid 6, but the ECU 50 may be separated into a motor ECU for controlling the motor 10 and an AT-ECU for controlling the solenoid. Hereinafter, the drive control of the motor 10 will be mainly described.

The ECU 50 includes a microcomputer 51 (see FIG. 9) and the like, and internally includes a CPU (not shown), a ROM, a RAM, an I/O, a bus line for connecting those components, and the like. The processing in the ECU 50 may be software processing by allowing a CPU to execute a program stored in advance in a tangible memory device such as a ROM (that is, a readable non-transitory tangible recording medium), or hardware processing by dedicated electronic circuits.

The ECU 50 includes, as functional blocks, a drive control unit 55, an abnormality monitoring unit 56, and the like. The drive control unit 55 controls the driving of the motor 10 by feedback control or the like based on a motor angle θm, an output shaft angle θs, and the like so that the motor angle θm stops at a motor angle target value θcmd set according to the requested shift range. The details of the drive control of the motor 10 may be any. The abnormality monitoring unit 56 monitors the abnormality of the shift-by-wire system 1. In the present embodiment, an intermediate range stop abnormality in which the detent roller 26 stops in the intermediate range region is detected by the occurrence of a motor-off failure in which the motor 10 stops during a range switching.

In this example, the behavior of the detent mechanism at the time of shift range switching will be described with reference to FIG. 4. In FIG. 4, the concept of “allowance” is schematically shown, and the output shaft 15 and the speed reducer 14 are integrated with each other, and the motor shaft 105 is movable within an allowance range of the speed reducer 14. The motor shaft 105 and the speed reducer 14 may be integrated with each other so that “allowance” exists between the speed reducer 14 and the output shaft 15. In this example, the “allowance” between the motor shaft 105 and the output shaft 15 will be described mainly with respect to an allowance existing between the gear of the speed reducer 14 and the motor shaft 105, but the “allowance” can be regarded as a total of allowance, backlash, and the like existing between the motor shaft 105 and the output shaft 15.

Hereinafter, an example in which the shift range is switched from a range other than the P range to the P range will be mainly described. FIG. 4 schematically shows a state in which the detent roller 26 moves from the R trough 222 to the P trough 221 as the motor 10 rotates. In FIG. 4, the rotation directions of the motor 10 and the output shaft 15 are described as right and left directions in the drawing, and a state in which the detent roller 26 moves along with the rotation of the motor 10 is shown from an upper stage to a lower stage. Actually, the detent plate 21 rotates integrally with the output shaft 15 to move the detent roller 26 between the troughs 221 to 224, but in FIG. 4, the detent roller 26 is illustrated as moving together with the output shaft 15 for the purpose of description.

Prior to the description of the behavior of the detent mechanism, a torque applied to the detent mechanism will be described with reference to FIG. 5. As shown in an upper part of FIG. 5, when the detent plate 21 is rotated, a state in which a load torque TL generated by a spring load SL of the detent spring 25 acts as a positive torque for assisting the drive torque of the motor 10 and a state in which the load torque TL acts as a negative torque for preventing the drive torque of the motor 10 are repeated. When switching the shift range in the P range direction, a torque applied to the detent roller 26 in the P direction is defined as a positive torque, and a torque applied in the D direction is defined as negative torque. The positive torque is generated mainly by the drive torque of the motor 10 and the spring load SL during the descending of the detent roller 26. The negative torque is generated mainly by the spring load SL during the ascending of the detent roller 26.

As shown in FIG. 4, in the shift-by-wire system 1, in the shift range switching mechanism 20, the shift range is switched by the detent roller 26 moving between the troughs 221 to 224 by the rotation of the detent plate 21. In the present embodiment, the detent roller 26 is dropped to any one of the troughs 221 to 224 corresponding to the requested shift range by the spring load SL by use of the backlash provided between the motor shaft 105 and the output shaft 15.

When the detent roller 26 is moved from the R trough 222 to the P trough 221, as shown in a state a, the motor 10 rotates in the backlash, so that the motor shaft 105 and the speed reducer 14 come into contact with each other, and the backlash is clogged. When the backlash is clogged, the motor shaft 105 and the output shaft 15 rotate integrally with each other, and the detent roller 26 starts ascending.

As shown in a state b, the motor 10 pulls the output shaft 15 when the detent roller 26 is in an ascending state in which the detent roller 26 moves from the R trough 222 to a crest 226. At that time, the spring load SL acts as a negative torque.

As shown in a state c, when the detent roller 26 is in a descending state of moving from an apex of the crest 226 to the P trough 221, the spring load SL acts as a positive torque, and the output shaft 15 precedes the motor 10, and is drawn into the P trough 221 in the backlash. As shown in a state d, the detent roller 26 falls into the P trough 221.

In the present embodiment, a DC motor having a permanent magnet is used as the motor 10, and as shown in a lower part of FIG. 5, the motor cogging torque TC_M is periodically generated. The generation cycle of the cogging torque differs depending on the number of magnetic poles of the motor 10 and the like. The motor cogging torque TC_M is amplified in accordance with a gear ratio of the speed reducer 14 and transmitted to the output shaft 15. Hereinafter, the cogging torque amplified by the speed reducer 14 is referred to as an output shaft cogging torque TC_S.

As indicated by “x” in FIG. 5, torque balance points at which the load torque TL and the output shaft cogging torque TC_S are balanced occur on the ascending side. In particular, when a gear ratio of the speed reducer 14 is large and a maximum value of the output shaft cogging torque TC_S is larger than a maximum value of the negative torque by the detent spring 25, the number of torque balance points is increased as compared with the case where the maximum value of the output shaft cogging torque TC_S is smaller than the maximum value of the negative torque. In order to avoid complication, parts of the marks “X” indicating the balance points are illustrated.

In this example, a case will be described in which a motor-off failure, which is an abnormality in which the motor 10 cannot be driven due to a disconnection or the like, occurs during the range switching. When the motor-off failure occurs during descending of the detent roller 26, the spring load SL acts as a positive torque, and therefore, if a large allowance is provided, the detent roller 26 can be dropped to a trough by the spring load SL.

On the other hand, when a motor-off failure occurs during ascending of the detent roller, the spring load SL acts as a negative torque. For that reason, when the motor-off failure occurs at the torque balance point, the detent roller 26 stops in the course of ascending, and a new problem of the intermediate range stop abnormality has been found (see FIG. 8). When the detent roller 26 stops at the torque balance point, the intermediate range stop abnormality is not resolved even if the backlash is large. Further, in the case of a motor which does not use a permanent magnet such as a switched reluctance motor, for example, a cogging torque is not generated, so that the torque balance point does not occur, and the detent roller 26 is dropped into any of the troughs 221 to 224 by the spring load SL of the detent spring 25, so that an intermediate range stop abnormality does not occur.

FIG. 6 shows a stop position of the output shaft 15 when the energization is turned off after a certain period of time elapses until the detent roller 26 reaches the P trough 221 after the energization is started from a state in which the detent roller 26 is in the D trough 224. Even if the energization is turned off during the range switching, the detent roller 26 is dropped into one of the troughs 221 to 224 by the spring load SL depending on an energization off timing. However, as surrounded by a two-dot chain line, when the energization is turned off during the ascending of the detent roller 26, the detent roller 26 may stop in an intermediate range region.

FIGS. 7 and 8 are experimental results when an energization period of the motor 10 is defined as xa, and correspond to a point A in FIG. 6. In FIG. 7, a horizontal axis represents a common time axis, and a driving mode and an angle are shown from the top. P, R, N, and D in the figure correspond to the output shaft angles when the detent roller 26 is located at the centers of the troughs 221 to 224. The motor angle θm and the motor angle target value θcmd are described in terms of output shaft.

It is understood that when the detent roller 26 is energized for a time xa from a state in which the detent roller 26 is at the D trough 224 and then deenergized, the motor angle θm does not reach the motor angle target value θcmd, and the output shaft angle θs stops in an intermediate range region between the R trough 222 and the P trough 221.

If an abnormality occurs in which the output shaft 15 stops in the intermediate range region, the manual valve 28 stops at a halfway position, so that an appropriate hydraulic pressure cannot be generated, which may lead to a failure of the automatic transmission 5.

Therefore, in the present embodiment, at least a part of the motor drive system is multi-systematized so that an intermediate range stop abnormality does not occur even when a disconnection or the like occurs in a part of the motor drive system. The motor drive system includes the motor windings 11 and 12, the motor drivers 41 and 42, and connection wirings 71 and 72 that connect the motor drivers 41 and 42 to the motor windings 11 and 12, respectively.

FIG. 9 shows a connection relationship of the motor drive system according to the present embodiment. In FIG. 9 and the like, the motor windings 11 and 12 are denoted by a symbol “M”. As shown in FIG. 9, in the present embodiment, the motor drivers 41 and 42 are provided two by two, and the motor windings 11 and 12 are provided two by two. In other words, in the present embodiment, the motor drivers 41 and 42 and the motor windings 11 and 12 are duplicated. The first motor driver 41 is connected to the first motor winding 11 by the first connection wiring 71, and the second motor driver 42 is connected to the second motor winding 12 by the second connection wiring 72.

The microcomputer 51 is connected to the motor drivers 41 and 42 through a switching unit 65 configured by a single-pole double-throw switch or the like. More specifically, the switching unit 65 is connected to the microcomputer 51 through a microcomputer-side wiring 655, and is capable of switching between a state in which a first driver-side wiring 651 connected to the first motor driver 41 and the microcomputer-side wiring 655 are connected to each other, and a state in which a second driver-side wiring 652 connected to the second motor driver 42 and the microcomputer-side wiring 655 are connected to each other. The switching unit 65 is controlled so that the motor drivers 41 and 42 used for driving the motor 10 can be selected. As a result, even when an abnormality occurs in one of the motor drivers 41 and 42, the driving of the motor 10 can be continued by use of the other of the motor drivers 41 and 42. Hereinafter, the multiplexed component group is referred to as a “system”. In the present embodiment, a configuration extending from the first motor driver 41 to the first motor winding 11 is defined as a first system, and a configuration extending from the second motor driver 42 to the second motor winding 12 is defined as a second system. In the present embodiment, one system is a main system, and the other system is a sub-system, and when the main system is normal, the main system is preferentially used. Hereinafter, the first system will be described as a main system, and the second system will be described as a sub-system.

A motor control process according to the present embodiment will be described with reference to a flowchart of FIG. 10. This process is executed by the ECU 50 at a predetermined cycle. Hereinafter, a “Step” of Step S101 is omitted, and the symbol “S” is simply referred to. The same applies to the other steps. A state in which a flag is set is set to “1”, and a state in which the flag is not set is set to “0”. This process can be applied to a mode having switching units 65, 75, and 76 and an embodiment in which the motor drivers 41 and 42 to be used can be selected by a software switch.

In S101, the abnormality monitoring unit 56 determines whether or not the main system is normal. In the present embodiment, the determination is made according to whether or not the first motor driver 41 is normal. When it is determined that the main system is not normal (NO in S101), the process shifts to S102, and a main system abnormality flag FlgM is set. In addition, in S103, the ECU 50 notifies the outside of the shift-by-wire system 1, for example, another ECU (not shown) such as a host ECU that controls the entire vehicle, of the information indicating that the main system is faulty. In addition, information indicating that an abnormality has occurred in the shift-by-wire system 1 is notified to a driver. The notification method to the driver may be any method, for example, lighting of a warning lamp, notification by voice, or the like. The same applies to the notification when the sub-system is abnormal. When it is determined that the main system is normal (YES in S101), the main system shifts to S104.

In S104, the abnormality monitoring unit 56 determines whether or not the sub-system is normal. In the present embodiment, it is determined whether or not the second motor driver 42 is normal. When it is determined that the sub-system is not normal (NO in S104), the process shifts to S105, and a sub-system abnormality flag FlgS is set. In addition, in S106, the ECU 50 notifies the outside of the shift-by-wire system 1 that the sub-system has failed. In addition, information indicating that an abnormality has occurred in the shift-by-wire system 1 is notified to a driver. If it is determined that the sub-system is normal (YES in S104), the process shifts to S107.

In S107, the drive control unit 55 determines whether or not the main system abnormality flag FlgM has been set. When it is determined that the main system abnormality flag FlgM has been set (YES in S107), the process proceeds to S108. When it is determined that the main system abnormality flag FlgM has not been set (NO in S107), the process proceeds to S109, the main system is selected as a system used for driving the motor 10, and the switching unit 65 is connected to the first motor driver 41.

In S108, the drive control unit 55 determines whether or not the sub-system abnormality flag FlgS has been set. When it is determined that the sub-system abnormality flag FlgS has not been set (YES in S108), the process proceeds to S110, the sub-system is selected as a system used for driving the motor 10, and the switching unit 65 is connected to the second motor driver 42. When it is determined that the sub-system abnormality flag FlgS has been set (YES in S108), the process proceeds to S111, and the drive system is not selected, and switching of the shift range is prohibited.

As described above, the shift-by-wire system 1 according to the present embodiment includes the motor 10, the motor drivers 41 and 42, the output shaft 15, the shift range switching mechanism 20, and the ECU 50. The motor 10 has the motor windings 11 and 12, and a cogging torque is generated by permanent magnets. The motor drivers 41 and 42 switch the energization of the motor windings 11 and 12. The output shaft 15 is transmitted with the rotation of the motor shaft 105 which is a rotation shaft of the motor 10.

The shift range switching mechanism 20 includes the detent plate 21, the detent roller 26, and the detent spring 25. The detent plate 21 is formed with the multiple troughs 221 to 224 and the multiple crests 226 to 228 separating the troughs 221 to 224, and rotates integrally with the output shaft 15. The detent roller 26 fits in any one of the troughs 221 to 224 corresponding to the shift range. The detent spring 25 urges the detent roller 26 in a direction of fitting into the troughs 221 to 224. The ECU 50 controls the driving of the motor 10.

An allowance is provided between the motor shaft 105 and the output shaft 15, and the detent roller 26 can be dropped into the troughs 221 to 224 by use of the allowance. The motor drivers 41 and 42, the motor windings 11 and 12, and the connection wirings 71 and 72 connecting the motor drivers 41 and 42 and the motor windings 11 and 12 are used as a motor drive system. When an abnormality occurs in the motor drive system during ascending in which the detent roller 26 is moving from the troughs 221 to 224 to the crests 226 to 228, an occurrence probability of an intermediate range stop abnormality can be reduced in which the output shaft 15 stops by balancing the output shaft cogging torque, which is the cogging torque transmitted to the output shaft 15, and the torque including the load torque of the detent spring 25. Even if an abnormality occurs in the motor drive system during ascending of the detent roller 26, the occurrence probability of the intermediate range stop abnormality is reduced, so that the automatic transmission 5 can be protected.

Specifically, at least parts of the motor drive system components, which are components configuring the motor drive system, are provided in plurality. In the present embodiment, the motor drivers 41 and 42 and the motor windings 11 and 12 are each provided in plurality. In addition, a switching unit 65 is provided which can select one of the multiple motor drive system components, which is actually used for driving the motor 10. The switching unit 65 according to the present embodiment can select the motor drivers 41 and 42 to be used for driving the motor. As a result, even when an abnormality occurs in a part of the multiplexed portions, the driving of the motor 10 can be continued. Further, with the provision of the switching unit 65, the driving of the motor 10 can be appropriately continued in the normal system without using the system in which the abnormality occurs.

When a part of the multiple motor drive system components is defined as the main system and the other is defined as the sub-system, if the main system is normal, the motor 10 is driven by use of the main system, and if an abnormality occurs in the main system, the motor 10 is driven by use of the sub-system. When an abnormality occurs in the sub-system, the driving of the motor 10 in the main system is continued. As a result, even when an abnormality occurs in a part of the motor drive systems, the driving of the motor 10 can be continued.

When an abnormality occurs in the motor drive system, information indicating the occurrence of the abnormality is notified to the outside. As a result, for example, the driver is notified of the abnormality, an early repair can be prompted.

Second Embodiment

A second embodiment will be described with reference to FIG. 11. In the present embodiment, motor drivers 41 and 42 are each connected to both of motor windings 11 and 12. More specifically, the first motor driver 41 and the motor windings 11 and 12 are connected to each other by a connection wiring 710 in which the motor windings 11 and 12 are branched at a branch point 715. The second motor driver 42 and the motor windings 11 and 12 are connected to each other by a connection wiring 720 that branches on the motor windings 11 and 12 side at a branch point 725. In other words, in the present embodiment, a configuration extending from the motor drivers 41 and 42 to the motor windings 11 and 12 is duplicated, and a wiring extending from each of the motor drivers 41 and 42 to the motor windings 11 and 12 is duplicated. The motor windings 11 and 12 may be said to be shared by the first system and the second system.

In the present embodiment, the multiple motor windings 11 and 12 are each connected to the motor drivers 41 and 42. As a result, even when an abnormality occurs in one of the motor drivers 41 and 42, driving using both of the motor windings 11 and 12 can be continued, and a torque reduction can be prevented. Therefore, in the present embodiment, even when a relatively large torque is required, for example, at the time of shifting from P, a range switching failure can be prevented. In addition, the same effects as those of the above embodiment can be obtained.

Third Embodiment

A third embodiment is shown in FIG. 12. In the present embodiment, motor drivers 41 and 42 are duplicated. The motor drivers 41 and 42 and a motor winding 11 are connected to each other by a connection wiring 73 that branches on the motor drivers 41 and 42 sides at a branch point 735. As a result, even when an abnormality occurs in one of the motor drivers 41 and 42, the driving of the motor 10 can be continued. The same applies to a fourth embodiment and a fifth embodiment. In addition, the same effects as those of the above embodiment can be obtained.

Fourth Embodiment

A fourth embodiment is shown in FIG. 13. In the present embodiment, motor drivers 41 and 42 are duplicated. A microcomputer 51 and the motor drivers 41 and 42 are connected to each other by a connection wiring 63 which branches on the motor driver 41 and 42 sides at a branch point 635. In the present embodiment, the switching unit 65 between the microcomputer 51 and the motor drivers 41 and 42 is omitted.

In the present embodiment, one motor winding 11 and the two motor drivers 41 and 42 are provided. The motor winding 11 is connected to the motor drivers 41 and 42 through a switching unit 75 formed by a single-pole double-throw switch or the like. More specifically, the switching unit 75 is connected to the motor winding 11 through a motor-side wiring 755, and is capable of switching between a state in which the first driver-side wiring 751 connected to the first motor driver 41 and the motor-side wiring 755 are connected to each other and a state in which the second driver-side wiring 752 connected to the second motor driver 42 and the motor-side wiring 755 are connected to each other. The switching unit 75 is controlled so that the motor drivers 41 and 42 connected to the motor winding 11 and used for a drive control of the motor 10 can be selected. As a result, even when an abnormality occurs in one of the motor drivers 41 and 42, the driving of the motor 10 can be continued. In addition, the same effects as those of the above embodiment can be obtained.

Fifth Embodiment

A fifth embodiment is shown in FIG. 14. In the present embodiment, motor drivers 41 and 42 are duplicated. The microcomputer 51 and the motor drivers 41 and 42 are connected to each other by independent connection wirings 61 and 62, respectively. More specifically, the microcomputer 51 and the first motor driver 41 are connected to each other by the connection wiring 61, and the microcomputer 51 and the second motor driver 42 are connected to each other by the connection wiring 62. The motor drivers 41 and 42 may be controlled by the microcomputer 51 at the same time, or the motor drivers 41 and 42 to be used may be selected by a software switch in the microcomputer 51. When the motor drivers 41 and 42 are selected by the software switch, the microcomputer 51 can be regarded as a “switching unit”. The same applies to a ninth embodiment and an eleventh embodiment which will be described later. The same effects as those of the above embodiments can be obtained even in the configuration described above.

Sixth Embodiment

A sixth embodiment is shown in FIG. 15. In the present embodiment, motor windings 11 and 12 are duplicated. A microcomputer 51 and a motor driver 41 are connected to each other by a connection wiring 61. The motor driver 41 and the motor windings 11 and 12 are connected to each other through a switching unit 76 formed of a single-pole double-throw switch or the like. More specifically, the switching unit 76 is connected to the motor driver 41 through the driver-side wiring 765, and is capable of switching between a state in which the first motor-side wiring 761 connected to the first motor winding 11 and the driver-side wiring 765 are connected to each other, and a state in which the second motor-side wiring 762 connected to the second motor winding 12 and the driver-side wiring 765 are connected to each other. The switching unit 76 is controlled so that the motor windings 11 and 12 connected to the motor driver 41 can be selected. As a result, even when an abnormality occurs in one of the motor windings 11 and 12, the driving of the motor 10 can be continued. In addition, the same effects as those of the above embodiment can be obtained.

Seventh Embodiment

A seventh embodiment is shown in FIG. 16. As shown in FIG. 16, in the present embodiment, one motor driver 41 and one motor winding 11 are provided. The motor driver 41 and the motor winding 11 are connected to each other through a switching unit 77 formed of a single-pole double-throw switch or the like. More specifically, the switching unit 77 is connected to the motor driver 41 through a driver-side wiring 775, and is capable of switching between a state in which a first motor-side wiring 771 and the driver-side wiring 775 are connected to each other and a state in which a motor-side wiring 772 and the driver-side wiring 775 are connected to each other. The motor-side wirings 771 and 772 are both connected to the motor winding 11. In other words, in the present embodiment, the motor-side wirings 771 and 772 connecting the switching unit 77 and the motor winding 11 are duplicated. The above configuration also achieves the same effects as those of the above embodiments.

Eighth Embodiment

FIG. 17 shows an eighth embodiment. As shown in FIG. 17, in the present embodiment, motor drivers 41 and 42 and motor windings 11 and 12 are duplicated. A microcomputer 51 and the motor drivers 41 and 42 are connected to each other by the same connection wiring 63 as in the fourth embodiment, and the motor drivers 41 and 42 and the motor windings 11 and 12 are connected to each other by the same connection wiring 71 and 72 as in the first embodiment.

In the present embodiment, the microcomputer 51 can output the same control signal to the multiple motor drivers 41 and 42 through the connection wiring 63. In other words, in the present embodiment, the multiple systems are driven simultaneously. As a result, the same control as in the case where all the systems are normal can be continued on the assumption that an abnormality has occurred in one of the systems, and a time required for switching of the systems can be reduced, for example. In addition, the same effects as those of the above embodiment can be obtained.

Ninth Embodiment

FIG. 18 shows a ninth embodiment. As shown in FIG. 18, in the present embodiment, motor drivers 41 and 42 and motor windings 11 and 12 are duplicated. A microcomputer 51 and the motor drivers 41 and 42 are connected to each other by the same connection wirings 61 and 62 as in the fifth embodiment, and the motor drivers 41 and 42 and the motor windings 11 and 12 are connected to each other by the same connection wiring 71 and 72 as in the first embodiment. The above configuration also achieves the same effects as those of the above embodiments.

Tenth Embodiment

A tenth embodiment is shown in FIG. 19. As shown in FIG. 19, in the present embodiment, motor drivers 41 and 42 are duplicated. A microcomputer 51 and the motor drivers 41 and 42 are connected to each other by the same connection wiring 63 as in the fourth embodiment, and the motor drivers 41 and 42 and a motor winding 11 are connected to each other by the same connection wiring 73 as in the third embodiment. The above configuration also achieves the same effects as those of the above embodiments.

Eleventh Embodiment

An eleventh embodiment is shown in FIG. 20. As shown in FIG. 20, in the present embodiment, motor drivers 41 and 42 are duplicated. A microcomputer 51 and the motor drivers 41 and 42 are connected to each other by the same connection wirings 61 and 62 as in the fifth embodiment, and the motor drivers 41 and 42 and a motor winding 11 are connected to each other by the same connection wiring 73 as in the third embodiment. The above configuration also achieves the same effects as those of the above embodiments.

Twelfth Embodiment

FIG. 21 shows a twelfth embodiment. As shown in FIG. 21, in the present embodiment, motor windings 11 and 12 are doubled. A microcomputer 51 and a motor driver 41 are connected to each other by the same connection wiring 63 as in the sixth embodiment. The motor driver 41 and the motor windings 11 and 12 are connected to each other by a connection wiring 74 that branches on the motor windings 11 and 12 at a branch point 745. The same effects as those of the above embodiments can be obtained even in the configuration described above.

Thirteenth Embodiment

FIG. 22 shows a thirteenth embodiment. As shown in FIG. 22, in the present embodiment, a microcomputer 51 and a motor driver 41 are connected to each other by a connection wiring 61. The motor driver 41 and a motor winding 11 are connected to each other by connection wirings 78 and 79. In other words, in the present embodiment, the connection wirings 78 and 79 for connecting the motor driver 41 and the motor winding 11 are duplicated. The same effects as those of the above embodiments can be obtained even in the configuration described above.

Fourteenth Embodiment

A fourteenth embodiment will be described with reference to FIG. 23. In the fourteenth embodiment to a sixteenth embodiment, since the motor control process is different from that in the first embodiment, a description will focus on the motor control process. The motor control process according to the present embodiment will be described with reference to a flowchart of FIG. 23.

Processes of S101 to S106 are the same as those of the first embodiment, and when an affirmative determination is made in S104, and the process shifts to S121 subsequently to S106. In S121, a drive control unit 55 determines whether or not a main system abnormality flag FlgM or a sub-system abnormality flag FlgS has been set. When it is determined that neither the main system abnormality flag FlgM nor the sub-system abnormality flag FlgS has been set (NO in S121), the process shifts to S123, and the main system is selected as a system used for driving the motor 10. When it is determined that the main system abnormality flag FlgM or the sub-system abnormality flag FlgS has been set (YES in S121), the process proceeds to S122.

In S122, the drive control unit 55 determines whether or not the main system abnormality flag FlgM and the sub-system abnormality flag FlgS have been set. When it is determined that the main system abnormality flag FlgM or the sub-system abnormality flag FlgS has not been set (NO in S122), the process shifts to S124, and a normal system is selected as a system used for driving the motor 10. In other words, when the main system abnormality flag FlgM has not been set and the sub-system abnormality flag FlgS has been set, the main system is selected, and when the main system abnormality flag FlgM has been set and the sub-system abnormality flag FlgS has not been set, the sub system is selected. When it is determined that the main system abnormality flag FlgM and the sub-system abnormality flag FlgS have been set (YES in S122), the process shifts to S125 and the drive system is not selected.

In S126 to which the process shifts subsequent to S124, the drive control unit 55 determines whether or not a battery voltage Vb is equal to or higher than a voltage determination threshold Vth. In the present embodiment, the battery voltage Vb corresponds to “an input voltage input to the drive circuit”. The voltage determination threshold Vth is set to a value at which the shift range can be switched by driving a motor 10. The voltage determined threshold Vth may be the same value regardless of the range, or may be a different value depending on the current shift range, for example, when the current shift range is the P range, the voltage determination threshold Vth may be set to a value larger than that when the current shift range is the other range, or the like. When it is determined that the battery voltage Vb is equal to or higher than the voltage determination threshold Vth (YES in S126), the process proceeds to S127. When it is determined that the battery voltage Vb is less than the voltage determination threshold Vth (NO in S126), the process proceeds to S128.

When an affirmative determination is made in S126, or in S127 to which the process proceeds subsequent to S123, the drive control unit 55 permits switching of the shift range. When a negative determination is made in S126, or in S128 to which the process proceeds subsequent to S125, the drive control unit 55 prohibits switching of the shift range.

When an abnormality occurs in the motor drive system, there is a fear that an outputtable torque may be lowered as compared with the case of normal operation, depending on the situation of the abnormality. In addition, if the battery voltage is lowered, the outputtable torque is further lowered, and the range switching may fail. Therefore, in the present embodiment, when an abnormality occurs in one of the systems and the battery voltage Vb is lowered, switching of the shift range is prohibited. This makes it possible to prevent the range switching failure caused by the torque reduction.

In the present embodiment, when a part of the motor drive systems becomes abnormal, an ECU 50 performs the range switching execution determination and selects whether a range switching is permitted or prohibited. Specifically, the ECU 50 determines the battery voltage Vb as the input voltage input to motor drivers 41 and 42 as the range switching execution determination, permits the range switching when the battery voltage Vb is equal to or higher than the voltage determination threshold Vth, and prohibits the range switching when the battery voltage Vb is less than the voltage determination threshold Vth. As a result, the range switching failure due to the torque shortage can be prevented, and the occurrence of the intermediate range stop abnormality can be avoided. In addition, the same effects as those of the above embodiment can be obtained.

Fifteenth Embodiment

A fifteenth embodiment will be described with reference to FIG. 24. The motor control process according to the present embodiment is the same as that of the fourteenth embodiment except that the processing of S131 is performed instead of S126 in FIG. 23. In S131 to which the process proceeds subsequent to S124, a drive control unit 55 determines whether or not the engine is being driven. If it is determined that the engine is being driven (YES in S131), the process proceeds to S127 and the shift range is permitted to be switched. If it is determined that the engine is being driven (NO in S131), the process proceeds to S128 and the shift range is prohibited from being switched.

For example, when the engine is stopped due to an idle stop or the like, the battery voltage Vb may be lowered. Therefore, in the present embodiment, when an abnormality occurs in one of the systems and the engine is stopped, the shift range is prohibited from being switched. This makes it possible to prevent the range switching failure caused by the torque reduction.

An ECU 50 determines the driving state of the engine as the range switching execution determination. When the engine is being driven, the range switching is permitted, and when the engine is being stopped, the range switching is prohibited. As a result, the range switching failure due to the torque shortage can be prevented, and the occurrence of the intermediate range stop abnormality can be avoided. In addition, the same effects as those of the above embodiment can be obtained.

Sixteenth Embodiment

A sixteenth embodiment will be described with reference to FIG. 25. A motor control processing according to the present embodiment is the same as that of the fourteenth embodiment except that the processing of S136 and S137 is performed instead of S126 in FIG. 23. In S136 to which the process proceeds subsequent to S124, the drive control unit 55 determines whether or not the current shift range is other than the P range. When it is determined that the current shift range is other than the P range (YES in S136), the process shifts to S127 and the shift range is permitted to be switched. When it is determined that the current shift range is the P range (NO in S136), the process proceeds to S137.

In S137, a drive control unit 55 determines whether or not an inclination angle θi of the vehicle is equal to or less than an angle determination threshold θth. The inclination angle θi of the vehicle is calculated based on, for example, a detection value of an inclination angle sensor. When it is determined that the inclination angle θi is equal to or smaller than the angle determination threshold θth (YES in S137), the process proceeds to S127, and the shift range is permitted to be switched. When it is determined that the inclination angle θi is larger than the angle determination threshold θth (NO in S137), the process proceeds to S128 and the shift range is prohibited from being switched.

When the shift range is switched from the P range to a range other than the P range, that is, at the time of “shifting from P”, a torque larger than that at the time of switching the other ranges is required. Further, when the vehicle is inclined, a friction corresponding to the inclination angle θi and a vehicle weight is generated at a meshing point between the parking lock pawl 33 and the parking gear 35, and therefore, a larger torque is required at the time of shifting from P. Therefore, in the present embodiment, when an abnormality occurs in one of the systems and the range is shifted from P in a vehicle inclined state, the shift range is prohibited from being switched. This makes it possible to prevent the range switching failure caused by the torque reduction.

In the motor control process, the process of S137 may be omitted, and when an abnormality occurs in one of the systems, switching from the P range to another range may be prohibited regardless of the inclination angle θi of the vehicle. In the motor control process, multiple processes of S126 in FIG. 23, S131 in FIG. 24, and S136 and S137 in FIG. 25 may be combined together.

The motor control processes of the fourteenth to sixteenth embodiments are also applicable to a system that does not include the switching units 65, 75, and 76. When the fourteenth embodiment is exemplified, processes in S101 to S106 and S123 to S125 are omitted. In addition, the presence or absence of an abnormal system is determined in S121, and if there is no abnormal system, the process shifts to S127, and if there is an abnormal system, the process shifts to S122. In S122, if at least one system is normal, the system may shift to S126, and if all the systems are abnormal, the system may shift to S128. As in the fifteenth embodiment, S131 may be used instead of S126, or S136 and S137 may be used instead of S126 as in the sixteenth embodiment.

In the present embodiment, the ECU 50 determines the current shift range as the range switching execution determination. When the current shift range is other than the P range, range switching is permitted, and when the current shift range is the P range, the range switching is prohibited. Further, the ECU 50 determines the current shift range and the inclination angle θi of the vehicle as the range switching execution determination. When the current shift range is other than the P range, and when the current shift range is the P range and the inclination angle θi is equal to or less than the angle determination threshold θth, the range switching is permitted. When the current shift range is the P range and the inclination angle θi is larger than the angle determination threshold θth, the range switching is prohibited. This makes it possible to prevent the range switching failure caused by a torque shortage and to avoid the occurrence of the intermediate range stop abnormality at the time of shifting from P, which requires a relatively large torque. In addition, the same effects as those of the above embodiment can be obtained.

Seventeenth Embodiment

FIG. 26 shows a seventeenth embodiment. As described in the first embodiment, a motor cogging torque TC_M is amplified by a speed reducer 14. As described with reference to FIG. 5, when a gear ratio of the speed reducer 14 is large and an output shaft cogging torque TC_S is larger than a load torque generated by a spring load SL of a detent spring 25, a torque balance point increases.

Therefore, in the present embodiment, the gear ratio of the speed reducer 14 is set so that a maximum value of the output shaft cogging torque TC_S is not larger than a maximum value of a load torque TL. As a result, the torque balance point can be reduced as compared with a case in which the maximum value of the output shaft cogging torque TC_S is larger than the maximum value of the load torque TL, so that even if the motor-off failure occurs, the occurrence probability of the intermediate range stop abnormality can be greatly reduced, and a detent roller 26 can be dropped into any one of troughs 221 to 224 by the load torque TL of a detent spring 25.

A shift-by-wire system 1 further includes a speed reducer 14 provided between a motor shaft 105 and an output shaft 15. The gear ratio of the speed reducer 14 is set so that the output shaft cogging torque TC_S, which is a cogging torque amplified by the speed reducer 14, becomes smaller than the load torque TL by the detent spring 25. As a result, the occurrence probability of the intermediate range stop abnormality can be reduced.

Other Embodiments

In the above embodiments, the motor is a DC brushless motor. In other embodiments, the motor may be other than a DC brushless motor that generates a cogging torque. In the above embodiments, the motor driver as the drive circuit is a three-phase inverter. In other embodiments, the drive circuit may be configured by being capable of switching the energization of the motor windings. In the above embodiments, at least a part of the motor drive system is duplicated. In other embodiments, at least a part of the motor drive system may be multiplexed by providing three or more components.

In the above embodiments, the motor rotation angle sensor is an encoder. In other embodiments, the motor rotation angle sensor is not limited to the encoder, and any type such as a resolver may be used. In the above embodiments, a potentiometer is exemplified as the output shaft sensor. In other embodiments, the output shaft sensor may be any sensor, for example, the output shaft sensor may be configured by a switch that is turned on in each range guarantee region, or a contactless magnetic sensor may be used. The output shaft sensor may be omitted.

In the above embodiments, the detent plate is provided with four troughs. In other embodiments, the number of troughs is not limited to four and may be any number. For example, two troughs corresponding to a P range and a notP range other than the P range may be provided. The shift range switching mechanism, the parking lock mechanism, and the like may be different from those of the above embodiments.

In the above embodiments, the speed reducer is provided between the motor shaft and the output shaft. Although the details of the speed reducer are not mentioned in the above embodiments, any configuration may be adopted, for example, a cycloid gear, a planetary gear, a spur gear for transmitting a torque from a speed reduction mechanism substantially coaxial with the motor shaft to the drive shaft, or a combination of those components may be employed. In other embodiments, the speed reducer between the motor shaft and the output shaft may be omitted, or a mechanism other than the speed reducer may be provided. As described above, the present disclosure is not limited to the above-described embodiments, and can be implemented in various forms without departing from the spirit of the present disclosure.

While the present disclosure has been described with reference to embodiments thereof, it is to be understood that the disclosure is not limited to the embodiments and constructions. The present disclosure is intended to cover various modification and equivalent arrangements. In addition, while the various combinations and configurations, other combinations and configurations, including more, less or only a single element, are also within the spirit and scope of the present disclosure. 

What is claimed is:
 1. A shift range switching system, comprising: a motor that includes at least one motor winding and generates a cogging torque by a permanent magnet; at least one drive circuit that switches energization of the at least one motor winding; an output shaft to which rotation of a motor shaft as a rotation shaft of the motor is transmitted; a shift range switching mechanism that includes a trough providing member having a plurality of troughs and a plurality of crests separating the troughs from each other, and integrally rotates with the output shaft, an engagement member that fits in one of the troughs corresponding to a shift range, and an urging member that urges the engagement member in a direction of fitting into the one of the troughs; and a control unit that controls a driving operation of the motor, wherein: an allowance is provided between the motor shaft and the output shaft; the engagement member drops into the one of the troughs with the allowance; the at least one drive circuit, the at least one motor winding, and a connection wiring connecting the at least one drive circuit and the at least one motor winding are defined as a motor drive system; the cogging torque transmitted to the output shaft is defined as an output shaft cogging torque; an intermediate range stop abnormality is defined that the output shaft stops when balancing the output shaft cogging torque and a torque including a load torque of the urging member; and when an abnormality occurs in the motor drive system in an ascending action in which the engagement member moves from one of the troughs toward an adjacent one of the crests, the shift range switching system reduces an occurrence probability of the intermediate range stop abnormality.
 2. The shift range switching system according to claim 1, further comprising a speed reducer that is disposed between the motor shaft and the output shaft, wherein: a gear ratio of the speed reducer is set to decrease the cogging torque amplified by the speed reducer to be smaller than the load torque by the urging member.
 3. The shift range switching system according to claim 1, further comprising: a plurality of at least parts of motor drive system components for providing the motor drive system; and a switching unit for selecting one of the plurality of at least parts of motor drive system components, wherein: the one of the plurality of motor drive system components provides to drive the motor.
 4. The shift range switching system according to claim 3, wherein: the at least one dive circuit includes a plurality of drive circuits; the at least one motor winding includes a plurality of motor windings; and the plurality of motor windings are respectively connected to the plurality of drive circuits.
 5. The shift range switching system according to claim 3, wherein: a portion of the plurality of at least parts of motor drive system components is defined as a main system; a remaining portion of the plurality of at least parts of motor drive system components is defined as a sub-system; when the main system is normal, the main system provides to drive the motor; and when the abnormality occurs in the main system, the sub-system provides to drive the motor.
 6. The shift range switching system according to claim 5, wherein: when the abnormality occurs in the sub-system, the main system continues to provide driving the motor.
 7. The shift range switching system according to claim 1, wherein: the at least one dive circuit includes a plurality of drive circuits; and the control unit outputs a same control signal to the plurality of drive circuits.
 8. The shift range switching system according to claim 1, wherein: when a part of the motor drive system is abnormal, the control unit performs a range switching execution determination, and selects one of permission and prohibition of a range switching operation.
 9. The shift range switching system according to claim 8, wherein: the control unit checks an input voltage to be input into the drive circuit as the range switching execution determination; the control unit permits the range switching operation when the input voltage is equal to or higher than a voltage determination threshold; and the control unit prohibits the range switching operation when the input voltage is less than the voltage determination threshold.
 10. The shift range switching system according to claim 8, wherein: the control unit checks a driving state of an engine as the range switching execution determination; the control unit permits the range switching operation when the engine is running; and the control unit prohibits the range switching operation when the engine stops running.
 11. The shift range switching system according to claim 8, wherein: the control unit checks a current shift range as the range switching execution determination; the control unit permits the range switching operation when the current shift range is other than a P range; and the control unit prohibits the range switching operation when the current shift range is the P range.
 12. The shift range switching system according to claim 8, wherein: the control unit checks the current shift range and an inclination angle of a vehicle as the range switching execution determination; the control unit permits the range switching operation when the current shift range is other than the P range or when the current shift range is the P range and the inclination angle is equal to or less than an angle determination threshold; and the control unit prohibits the range switching operation when the current shift range is the P range and the inclination angle is larger than the angle determination threshold.
 13. The shift range switching system according to claim 1, wherein: when the abnormality occurs in the motor drive system, information indicating that the abnormality occurs is notified to an outside. 